package com.oriental.manage.dao.specially;

import com.oriental.manage.pojo.specially.BatchMessage;
import com.oriental.manage.pojo.specially.MerchantRiskInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by luoxin on 2017/4/20.
 */
public interface MerchantRiskInfoReportMapper {
    int insertModel(MerchantRiskInfo merchantRiskInfo);
    int delete(@Param("id") String id);
    List<MerchantRiskInfo> query(MerchantRiskInfo merchantRiskInfo);
    MerchantRiskInfo queryById(@Param("id") String id);
    List<MerchantRiskInfo> queryByRiskId(@Param("RiskId") String RiskId);
    int updateStatus(@Param("id") String id, @Param("Status") String Status, @Param("Content") String Content);
    List<MerchantRiskInfo> queryByList(@Param("batchMessages") List<BatchMessage> batchMessages);
    List<MerchantRiskInfo> queryByListForUpdate(@Param("batchMessages") List<BatchMessage> batchMessages);
    List<MerchantRiskInfo> queryByListForInvalid(@Param("batchMessages") List<BatchMessage> batchMessages);
    List<MerchantRiskInfo> queryByListForDecline(@Param("batchMessages") List<BatchMessage> batchMessages);
}
